﻿<%@ page language="java" contentType="text/html; charset=UTF-8"   pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE html>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="apple-itunes-app" content="app-id=591578609">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width"/>
<meta name="description" content="筑学堂网校" />
<meta name="keywords" content="筑学堂网校、建筑、考试"/>
<link href="http://www.zhuclass.com/img/icon.ico" type="image/x-icon" rel="icon"  />
<link href="http://www.zhuclass.com/img/icon.ico" type="image/x-icon" rel="shortcut icon"  />
<link rel="stylesheet" type="text/css" href="${csspath}/style/my_plat.css">
<link rel="stylesheet" type="text/css" href="${csspath}/style/teac_plat.css">
<!--[if IE 7]>
<link rel="stylesheet" href="/css/font-awesome/css/font-awesome-ie7.min.css">
<![endif]-->

<script type="text/javascript" src="${jspath}/js/base.js"></script>
<script type="text/javascript" src="${jspath}/js/study.js"></script>
<script type="text/javascript" src="${jspath}/js/jquery-1.11.1.js"></script>
<script type="text/javascript" src="${jspath}/js/classManager.js"></script>
<script type="text/javascript" src="${jspath}/js/tinymce/tinymce.min.js"></script>

<title>筑学堂家园个人空间</title>
<style type="text/css">
a {
	color:#222;
	text-decoration:none;
}
ul li {
	list-style-position:inside;
	list-style-type:disc;
	margin:0;
	padding:0;
}
ol li {
	list-style-position:inside;
}
</style>

			
<script type="text/javascript">
tinymce.init({
     selector: "#replayContent",
     menubar: false,
     language_url : '${jspath}/js/tinymce/langs/zh_CN.js',
     theme_url: '${jspath}/js/tinymce/themes/modern/theme.min.js',
     skin_url: '${jspath}/js/tinymce/skins/lightgray'
 });
 
 
</script>

</head>
<body
	style="align:center; padding:0;margin:0;clear:both; background-color:F7F7F7;">
	<!--顶部导航-->
	<div class="user_top">
		<iframe src="../../../common/header" width="100%" height="100%"
			frameborder="no" border="0" marginwidth="0" marginheight="0"
			scrolling="no" allowtransparency="yes"></iframe>
	</div>
	<!--end顶部导航-->

	<div style="width: 100%; height: 30px; margin: 0 auto;"></div>

	<div class="agen_body"
		style="min-height: 630px; background-color: #FFF">

		<div class="add_notetop"
			style="color: #333; padding-top: 10px; margin-left: 20px;">

			${questionObject.content }</div>


		<div class="exam_contlistl02"
			style="text-align: left; margin-top: 30px; margin-left: 20px;">
			所属课程：
			<c:if test="${questionObject.courseName == null}">
				<a href="#" style="color: #0A8CD2">-</a>
			</c:if>
			<c:if test="${questionObject.courseName != null}">
				<a target="_blank"
					href="/student/curriculum/initCourseTopic/${questionObject.courseId}"
					style="color: #0A8CD2">${questionObject.courseName}</a>
			</c:if>

			<a href="#"><span style="margin-left: 10px; color: #2F6383;">${questionObject.userName }
			</span></a> 提问于:${questionObject.createDate } <span
				style="margin-left: 10px; color: #999">
				浏览（${questionObject.viewCnt }）</span><a href="#"> </a>
		</div>



		<div class="add_notetop"
			style="color: #333; padding-top: 10px; margin-left: 20px; border-bottom: 1px solid #DDD; width: 95%;">

			共${questionObject.anserCount }个回复</div>



		<c:forEach items="${questionObject.answersOfQuestion }" var="answer">
			<div class="exam_content" style="text-align: left; width: 97%;">
				<div class="quest_listimg">
					<c:choose>
						<c:when test="${null != questionObject.userIcon}">
							<img src="${questionObject.userIcon}">
						</c:when>
						<c:otherwise>
							<img src="/images/kczx_son/user02.jpg">
						</c:otherwise>
					</c:choose>
				</div>
				<div class="exam_contlist">
					<div class="exam_contlistl">
						<a href="#">
							<div class="exam_contlistl01">${answer.content }</div>
						</a>
						<div class="exam_contlistl02">
							<a href="#"><span style="color: #2F6383;">${answer.userName }</span></a>
							回复于:${answer.replyDate} <a href="#"> </a>
						</div>
					</div>

				</div>
			</div>
		</c:forEach>



		<div class="add_notecontent"
			style="height: 30px; width: 75%; color: #666; text-align: right; margin-top: 20px;">
			您还可以输入 140 个字</div>
		<div class="add_notecontent" style="width: 95%; text-align: center;">
			<textarea id="replayContent" style="width: 600px; height: 150px; outline: none;"></textarea>
		</div>
		<div class="add_notebutton" style="width: 95%; margin-top: 50px;">
			<input class="add_notebutton01" onclick="replayQuestion('${questionObject.quizId}')" type="button" value="提交"
				style="border: none; outline: none;"> <a
				href="#" class="add_notebutton02" onclick="$('#replayContent').val('')"
				style="margin-left: 20px;"> 取消 </a>
		</div>


	</div>
	<%@ include file="../all_buttom.jsp"%>
</body>
</html>